{% extends "base.html" %}

{% block head %}
<link href="/medias/css/group.css" rel="stylesheet" type="text/css"/>

{% endblock %}

{% block title %}mobeir社区{% endblock %}

{% block left_content %}


<div id="midLeft">
<h3><span class="sLeft">活跃圈子</span><span class="sRight"></span></h3>
	
{% for group in groups %}
<div class="group_item">
	<div class="pic">
		<a href="/group/{{group.id}}"><img  width=50 height=50 alt="{{group.name}}" src="/medias/{{group.image}}"></a>
	</div>
	<div class="info">
		<a href="/group/{{group.id}}">{{group.name}}</a> (30539)</br>{{group.summary|slice:":40"}}...
	</div>
	<ul>
		{% for topic in hot_topics %}	
		<li><font color="#b9cedb">●</font><a target="_blank" href="/topic/{{topic.id}}/">{{topic.title|slice:":20"|escape}}</a>...评({{topic.replies_count}})</li>
	    {% endfor %}
	</ul>	
</div>
{% endfor %}		
</div>


{% endblock %}





{% block right_content %}


<div id="hotCont">
	<h3><span class="sLeft">活跃主题</span><span class="sRight"></span></h3>
	<ul>
		{% for topic in hot_topics %}	
		<li><font color="#b9cedb">●</font><a target="_blank" href="/topic/{{topic.id}}/">{{topic.title|slice:":22"|escape}}</a>...   评论：{{topic.replies_count}}</li>
	    {% endfor %}
	</ul>	
		
</div>


{% endblock %}